package com.sxkiler.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.transaction.jta.JtaAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;


@MapperScan("com.sxkiler.demo.sharding.repository")
@ComponentScan("com.sxkiler.demo.*")
@SpringBootApplication(exclude = JtaAutoConfiguration.class)
public class ShardingApplication {

    public static void main(String args[]){
        SpringApplication.run(ShardingApplication.class,args);
    }
}
